package cc.eddic.pratice.programmingparadigms.emp02list;

/**
 * 员工信息统计服务
 */
public interface EmployeeStatisticsService {
    /**
     * 按照性别统计
     *
     * @param employees Employee 数组
     * @return 统计结果数组
     */
    ResultList pivotByGender(EmployeeList employees);

    /**
     * 按照部门统计
     *
     * @param employees Employee 数组
     * @return 统计结果数组
     */
    ResultList pivotByDepartment(EmployeeList employees);

    /**
     * 按照职位统计
     *
     * @param employees Employee 数组
     * @return 统计结果数组
     */
    ResultList pivotByJobTitle(EmployeeList employees);
}
